Automatic test method

ABSTRACT

An automatic test method for testing functions of a device under test is disclosed. The automatic test method includes the following operations. A sample video is generated based on first sample photos and at least one second sample photo by a processor. The sample video is displayed by the device under test and test photos are generated based on the content of the displayed sample video captured by a camera. The first sample photos are compared with the test photos to generate a display compared result. A display error message or a display pass message is generated based on the display compared result by the processor, configured to indicate that whether a display function of the device under test is dysfunctional.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority to Taiwan Application Serial Number108144361, filed Dec. 4, 2019, all of which are herein incorporated byreference.

BACKGROUND Field of Invention

The present invention relates to a test method, and especially relatesto an automatic test method for testing functions of a device undertest.

Description of Related Art

The fabrication of an electronic device includes tests before shippingto user from the factory, for checking whether some specific functionsof the electronic device work normally. For example, for a television,test items include image display, audio functions, and wirelesscommunications, etc.

However, in test operations, products under test are performed one byone by man, and it leads to rising cost of human resource and alsorising possibility of misjudgment. On the other hand, in the testoperations for testing audio functions, it is hard to judge stereo audioeffect accurately by man, and it is affected by other noise in thefactory or other factors. Furthermore, it causes false judgments in thetest operations.

SUMMARY

The invention provides an automatic test method for testing functions ofa device under test. The automatic test method includes the followingoperations. A sample video is generated based on first sample photos andat least one second sample photo by a processor. The sample video isdisplayed by the device under test, and test photos are generated basedon the content of the displayed sample video captured by a camera. Thefirst sample photos are compared with the test photos to generate thedisplay compared result. A display error message or a display passmessage is generated based on the display compared result by theprocessor, configured to indicate that whether a display function of thedevice under test is dysfunctional.

The invention also provides an automatic test method for testingfunctions of a device under test. The automatic test method includes thefollowing operations. A sample audio is generated by a processor. Thesample audio includes audio data, and the audio data have periods thatare same as one another. The sample audio played by the device undertest is captured by a voice receiver. The sample audio captured by thevoice receiver are analyzed by the processor to generate an audioresult. An audio error message or an audio pass message is generated bythe processor, based on the audio result, configured to indicate thatwhether an audio function of the device under test is dysfunctional.

It is to be understood that both the foregoing general description andthe following detailed description are by examples, and are intended toprovide further explanation of the invention as claimed.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention can be more fully understood by reading the followingdetailed description of the embodiment, with reference made to theaccompanying drawings as follows:

FIG. 1 is a block diagram of an automatic test system, in accordancewith an embodiment of the present disclosure.

FIG. 2 is a block diagram of an automatic test device, in accordancewith an embodiment shown in FIG. 1.

FIG. 3 is a block diagram of a part of an automatic test system, inaccordance with an embodiment shown in FIG. 1.

FIG. 4 is a flow chart of an automatic test method, in accordance withan embodiment of the present disclosure.

FIG. 5A is a schematic diagram of a position pattern, in accordance withan embodiment of the present disclosure.

FIG. 5B is a schematic diagram of a located color block image, inaccordance with an embodiment of the present disclosure.

FIG. 6 is a flow chart of an automatic test method, in accordance withan embodiment shown in FIG. 4.

FIG. 7 is a flow chart of a method of foreign object detection, inaccordance with an embodiment shown in FIG. 6.

FIG. 8A is a schematic diagram of a test photo, in accordance with anembodiment shown in FIG. 7.

FIG. 8B is a schematic diagram of a test photo, in accordance with anembodiment shown in FIG. 7.

FIG. 8C is a schematic diagram of a test photo, in accordance with anembodiment shown in FIG. 8A.

FIG. 8D is a schematic diagram of a test photo, in accordance with anembodiment shown in FIG. 8B.

FIGS. 9A, 9B and 9C are flow charts of an automatic test method, inaccordance with an embodiment shown in FIG. 4.

FIG. 10A is a schematic diagram of a sample audio, in accordance with anembodiment shown in FIGS. 9A, 9B and 9C.

FIG. 10B is a schematic diagram of a sample audio, in accordance with anembodiment shown in FIGS. 9A, 9B and 9C.

DETAILED DESCRIPTION

Reference will now be made in detail to embodiments of the presentdisclosure, examples of which are described herein and illustrated inthe accompanying drawings. While the disclosure will be described inconjunction with embodiments, it will be understood that they are notintended to limit the disclosure to these embodiments. On the contrary,the disclosure is intended to cover alternatives, modifications andequivalents, which may be included within the spirit and scope of thedisclosure as defined by the appended claims. It is noted that, inaccordance with the standard practice in the industry, the drawings areonly used for understanding and are not drawn to scale. Hence, thedrawings are not meant to limit the actual embodiments of the presentdisclosure. In fact, the dimensions of the various features may bearbitrarily increased or reduced for clarity of discussion. Whereverpossible, the same reference numbers are used in the drawings and thedescription to refer to the same or like parts for better understanding.

In the following description and in the claims, the terms “include” and“comprise” are used in an open-ended fashion, and thus should beinterpreted to mean “include, but not limited to.” As used herein, theterm “and/or” includes any and all combinations of one or more of theassociated listed items.

In this document, the term “coupled” may also be termed “electricallycoupled,” and the term “connected” may be termed “electricallyconnected.” “Coupled” and “connected” may also be used to indicate thattwo or more elements cooperate or interact with each other. Besides,although the terms “first,” “second,” etc., may be used herein todescribe various elements, these terms are used to distinguish oneelement from another. Unless the context indicates otherwise clearly,these terms does not specifically refer to or imply order or sequence,nor does they intend to limit the present invention.

An automatic test system of the present disclosure provides functionsfor testing electronic products and utilizes an automatic test method toimplement performing tests automatically on the electronic products. Forexample, when the electronic products are at the last end of a factorybefore leaving the factory, it may cover deficiency by replacing aconventional manner, which is the electronic products being tested byman, with a provided manner, which is the electronic products beingtested by the automatic test system for checking fundamental functionsof the electronic products.

With reference to FIG. 1, an automatic test system 100 includes atransmission structure 120, audio equipment AUD and a plurality ofautomatic test devices 110. Electronic products to be tested (i.e.,devices under test DUT, hereinafter) are coupled to the automatic testdevices 110. Each of the automatic test devices 110 is coupled to one ofthe devices under test DUT correspondingly, and is disposed on thetransmission structure 120.

In some embodiments, jigs (not shown) are disposed on the transmissionstructure 120, for arranging the devices under test DUT fixed.

As illustrated in FIG. 1, the transmission structure 120 is configuredto carry the automatic test devices 110 and the corresponding devicesunder test DUT. In the present embodiment, the transmission structure120 is a transmission strap, and the products disposed on thetransmission structure 120 are moved to target stops by a driving device(not shown) of the transmission structure 120. In the presentembodiment, the transmission structure 120 is able to carry theautomatic test devices 110 and the corresponding devices under test DUT,and to transmit that the same to respective function test stops ST1,ST2, ST3, . . . , STn (for simplicity, each of which is referenced asSTn hereinafter for illustration).

According to information including, for example, categories and modelnumbers, of the devices under test DUT, function test stops STn arearranged in the automatic test system 100, for testing various functionsof the devices under test DUT correspondingly. In various embodiments ofthe present disclosure, television is an exemplary illustration of eachof the devices under test DUT, and such device under test DUT may be aproduct with a specific model number of a specific television brand. Forsuch product with the specific model number, test items include its ownimage display function, voice output function (also referred to asvoice/audio function), wireless transmission function, and so on. Insome embodiments, another exemplary illustration of one of the devicesunder test DUT is a computer or a cell phone, and the test items furtherinclude communication function and fundamental computing function, etc.,and it is not limited by the provided embodiments of the presentdisclosure.

Among the function test stops STn, a function test stop ST2 shown inFIG. 1 is arranged for testing image display function and audiofunction. An audio equipment AUD is arranged. The audio equipment AUD iscoupled to the automatic test device 110 and the corresponding deviceunder test DUT, for assisting in the test operations to sample testsignals.

In some examples for testing image display function and audio functionof the device under test DUT, when the transmission structure 120transmits the device under test DUT to one of the function test stops(e.g., the function test stop ST2), the automatic test device 110provides sample data to the device under test DUT, and the audioequipment AUD records the sample data played by the device under testDUT and generates corresponding audio content. Continuously, theautomatic test device 110 compares the sample data with the recordedaudio content, in order to implement the function test.

In an embodiment, the automatic test device 110 includes a storagemodule (not shown), configured to store sample data including variousbrand and various models thereof correspondingly. When the automaticdevice 110 is coupled to the device under test DUT, the automatic testdevice 110 detects the brand and the model number of this device undertest DUT automatically by comparing the sample date stored in thestorage module with the information received from the device under testDUT.

In another embodiment, an external electronic device (e.g., a computingequipment PC of the present disclosure) is coupled to the automatic testdevices 110, configured to set the information including, for example,the brands and the model numbers of the corresponding devices under testDUT. For example, the computing equipment PC sets the brand and themodel number of one of the device under test DUT through a wire physicalinterface (e.g., USB, UART or RS232 interface) or through a wirelessinterface (e.g., Bluetooth or WIFI interface). Continuously, theautomatic test device 110 selects the corresponding sample dataincluding the set brand and model numbers, and transmits such sampledata to the corresponding device under test DUT. When the correspondingdevice under test DUT plays the sample data according to testinstruction from the automatic test device 110, the audio equipment AUDcaptures the sample data played by this device under test DUT, generatescorresponding image data and voice data, and transmits these image dataand voice data to the automatic test device 110. The automatic testdevice 110 generates test results which indicate that the device undertest DUT are dysfunctional or functional by comparing the data transmitfrom audio equipment AUD with selected sample data corresponding to thedevice under test DUT.

When the test results indicate as dysfunction, the automatic test device110 alarms, for alerting operators in the factory that such device undertest DUT works abnormally. When the test results do not indicate asdysfunction, the transmission structure 120 transmits the device undertest DUT to the next function test stop STn continuously, in order tocarry on other test items. For example, the device under test DUT istransmitted from the function test stop ST2 to the next function teststop ST3 by the transmission structure 120.

In some embodiments, the automatic test device 110 is provided withfunctions including storing, communicating and computing, configured tostore sample data, to transmit the sample data to the device under testDUT, and to analyze signals (which are also indicated as informationsuch as captured image data or voice data discussed above) received inthe test operations, and to generate test results.

Among the function test stops STn, a function test stop ST3 shown inFIG. 1 is arranged for testing the image display function and the audiofunction. The audio equipment AUD and the computing equipment PC arearranged. The audio equipment AUD is coupled to the automatic testdevice 110 and the computing equipment PC, for assisting in the testoperations to capture the signals played by the device under test DUT.The computing equipment PC is coupled to the automatic test device 110and the audio equipment AUD, for assisting to analyze data.

In some examples for testing the image display function and the audiofunction of the device under test DUT, when the transmission structure120 transmits the device under test DUT to one of the function teststops STn (e.g., the function test stop ST3), the computing equipment PCsends a command to the automatic test device 110 to set the sample datacorresponding to the such device under test DUT, and to order theautomatic test device 110 and the audio equipment AUD perform the imagedisplay of the test operations. In the test operations, the automatictest device 110 control the device under test DUT to play the sampledata, and controls the audio equipment AUD to capture the sample dataplayed by the device under test DUT and generate corresponding audiosignals. In one embodiment, the audio equipment AUD transmits thecaptured audio signals (e.g., photos and voice) in analog data format tothe computing equipment PC. The computing equipment PC analyzes theseaudio signals and sample data, and generates the test results of theimage display function and the audio function accordingly.

In another embodiment, the automatic test device 110 provides the sampledata to the device under test DUT and obtains the audio/video signalsfrom the audio equipment AUD. The automatic test device 110 is able tocompare the pre-stored sample data with the obtained audio/videosignals, and to generate the test results.

The signals or the data are transmitted by specific transmissioninterface according to the test items of the devices under test DUT. Forexample, a television of brand A may transmit images and voices througha HDMI interface, and a television of brand B may transmit images andvoices through a VGA interface. The transmission interface of the Abrand-television and the B brand-television are different from eachother. The automatic test device 110 provided in the present disclosureis able to integrate various transmit interfaces and correspondingtransmission protocols thereof. Therefore, only one structural device isable to operate tests in the televisions of various brands.

FIG. 2 is an embodiment of one of the automatic test devices 110 shownin FIG. 1. As illustrated in FIG. 2, the automatic test device 200includes a connection port 210, a transmission integrated interface 220,and a processor 230, wherein all of these elements will be discussed indetail below.

The connection port 210 is configured to couple to the device under testDUT, referred to as a physical connection port for external connectionstructure of the automatic test device 200. In some embodiments, theconnection port 210 includes connection interfaces that follow thecorresponding transmission protocols, and is configured to transmit thesignal (also referred to as data) between the transmission integratedinterface 220 and the device under test DUT.

As illustrated in FIG. 2, the connection port 210 includes twoconnection interfaces. The transmission protocols of the two connectioninterfaces are not compatible to each other. The connection interfacesmay be USB interface or HDMI interface.

In some examples, the USB connection port 211 is an USB 3.0 interfaceand compatible to UASP (USB attached SCSI protocol) transmissionprotocol, configured to transmit digital signals through the USBconnection port 211, based on the UASP transmission protocol. The HDMIconnection port 212 is a HDMI D type interface and compatible to HDMI2.1 transmission protocol, configured to transmit digital signals oranalog signals through the HDMI connection port 212, based on the HDMI2.1 transmission protocol.

In some embodiments, the automatic test device 200 transmit the testinginstructions through the USB connection port 211 or the HDMI connectionport 212, in order to set conditions of the device under test DUT forbeing in a test mode or a factory mode of the same to perform thementioned test operations.

In addition, the connection port 210 further includes a third connectioninterface (not shown). When the device under test DUT is in the testmode or the factory mode, the automatic test device 200 transmits andsets data that are irrelative to the conditions of the device under testDUT through the third connection interface. For example, the automatictest device 200 transmits the sample data or receives the audio signals(i.e., the signals including the image signals and the voice signals),generated based on the corresponding sample data from the device undertest DUT, through the third connection interface. The third connectioninterface is compatible with interfaces including, for example, HDMI forvideo transmission, component video connector of YPbPr interface andaudio L/R for video transmission, component video connector of CVBSinterface and audio L/R for video transmission, and consumer electronicscontrol (CEC) for wireless communication, ARC interface for voicetransmission, optical interface and coaxial interface for voicetransmission, analog L/R for voice transmission, Ethernet interface(which includes a DHCP server simulated by a processor) for wirelesscommunication, WIFI interface (which includes wireless access points(AP) set by a processor) for wireless communication, Bluetooth interfacefor wireless communication, and USB on-the-go (USB OTG) (which includesa USB pen driver simulated by a processor) for communication function.

The connection interface of the connection port 210 includes varioustransmission interfaces that are different from each other. Accordingly,it provides various devices under test DUT or various test items. Anumber of the connection interfaces is not limited by the embodiments ofthe present disclosure.

The transmission integrated interface 220 is coupled between theconnection port 210 and the processor 230, and is indicated as a signalcommunication bridge of the automatic test device 200. As mentionedabove, since the connection port 210 includes various connectioninterfaces compatible to various transmission protocols, thetransmission interface 220 may transfer the signals in varioustransmission protocols. Therefore, the automatic test device 200 is ableto test the devices under test DUT with various brands and modelnumbers, and it does not require to re-arrange a corresponding externaladaptor for a specific device under test DUT. Accordingly, the automatictest device 200 not only behaves with good using flexibility, but alsoincreases performance of the test operations.

As illustrated in FIG. 2, the transmission integrated interface 220includes a signal converter 221 and switches 222, 223, 224A and 224B. Byturning on or off these switches 222, 223, 224A and 224B and byoperating the signal converter 221 together, transmission formats of thesignals may be converted in the transmission integrated interface 220,in order to be compatible with various transmission protocols. Theimplement of being compatible with various transmission protocols in thetransmission integrated interface 220 of the present invention will bediscussed in detail below.

In the present embodiment, the processor 230 only supports UARTcommunication format. Alternatively stated, all signals transmitted tothe processor 230 must have UART communication format. However, variousdevices under test DUT may utilize different communication interfaces,configured to communicate with external devices with differentcommunication protocols.

In some embodiments, the device under test DUT is merely configured totransmit UART signals through a data signal pair channel of the USBinterface (e.g., D+/D− signal pair channel). Utilizing the automatictest device 200, the signals may be able to transmit with UARTcommunication format in the mentioned interface. Specifically, forexample, the automatic test device 200 is connected to the device undertest DUT through the USB connection port 211. A path from the USBconnection port 211 through the switches 223, 222 to the switch 224B isformed. The device under test DUT and the processor 230 may communicateto each other in UART format data via the path.

In some embodiments, the device under test DUT is merely configured totransmit UART signals through a DDC channel. The automatic test device200 is connected to the devices under test DUT through the HDMIconnection port 212. A path from the HDMI connection port 212 throughthe switch 224A to the switch 224B is formed for the communication ofthe device under test DUT and the processor 230.

In addition, the switch 223 is configured to be coupled to another USBconnection port 213. It may receive the signals transmitted through theUSB connection port 213 by such as, an USB pen drive. The signals of theUSB connection port 213 are transmitted in the USB communication format,and transmitted through the path from the USB connection port 213through the switch 223 to the switch 222, and through the signalconverter 221 to the switch 224B for the communication of the processor230 and the USB pen driver.

It should be noted that, the signal converter 221 is configured toconvert the communication formats between the USB and the UART. Forexample, when the USB connection port 213 receives the signals in USBcommunication format, the signals may be further transmitted through thepath to the processor 230, and such path is formed from the switch 223through the switch 222 to the signal converter 221, and further to theswitch 224B. Utilizing the signal converter 221 to convert thecommunication formats from the USB communication format to the UARTcommunication format, it is efficient to be identified and processed bythe processor 230. On the other hand, the signals in the UARTcommunication format that are transmitted from the processor 230 may beconverted into the signals in the USB communication format by the signalconverter 221, in order to be transmitted these signals to equipmentconnected to the USB connection ports 211 and 213.

In some embodiments, the processor 230 is indicated as a single boardcomputer, for example, raspberry Pi, which is a processor which includescomputing and storing functions. In some embodiments, the processor 230is indicated as a computer that has higher computing and storingfunctions compared to the raspberry Pi. The processor 230 is configuredto generate test instructions for ordering the device under test DUT,configured to compute and analyze the signals generated in the testoperations including, for example, analog signals (e.g., the capturedvideo signals) and digital signals (e.g., the signals in digital formatconverting from the captured video signals), and configured to generatethe test results.

In some embodiments, the processor 230 is coupled to another processor(e.g., the computing equipment PC shown in FIGS. 1 and 3), configured toassist to analyze the test results. In some examples, similar to thatshown in FIG. 1, the processor 230 is coupled to the computing equipmentPC (e.g., a computer) at the function test stop ST3. The processor 230is configured to generate test instructions for ordering the deviceunder test DUT. The computing equipment PC is configured to compute andanalyze the analog signals or the digital signals generated in the testoperations, and configured to generate the analyzed results.

The processor 230 is arranged as an equipment with various computingperformance, based on some considerations including costs and test itemsof the automatic test device 200, such as some various embodimentsdiscussed above which is not limited thereof.

Continued with the above discussion, the test instructions are data forordering the device under test DUT by the processor 230. The testinstructions include a triggered signal that ordering the device undertest DUT to start the test operations, and a triggered signal thatordering the device under test DUT enter the test mode or the factorymode.

Besides, the test signals are data that transmitted from the deviceunder test DUT to other receiver in the test operations. To explain inanother way, the receiver is referred to as a third equipment,configured to simulate as a user watching the television that mayreceive voices or images.

In some embodiments, the receiver is indicated as the automatic testdevice 200 that receives the date output from the device under test DUTthrough the third connection interface (not shown) of the connectionport 210. For example, the voice signal played by the device under testDUT is received by an audio return channel (ARC). In another embodiment,the receiver is indicated as microphones RMIC and LMIC, and a camera CAMshown in FIG. 3. The microphones RMIC, LMIC and the camera CAM capturethe image data and voice data played by the device under test DUT, andthen transmit these image data and voice data to the computing equipmentPC.

To conclude, the transmission integrated interface 220 and theconnection port 210, which includes the USB connection port 211 and theHDMI connection port 212, transmit the test instructions to the devicesunder test DUT with various brands or model numbers, in order to supportsignals with various format output from the devices under test DUT.Continuously, the connection port 210 transmits the sample data to thedevices under test DUT for performing the test operations. Theconnection port 210 or other receiver (e.g., camera or microphone)receives video signals including, for example, voice and/or images,played in the test operations. The automatic test device 200 or thecomputing equipment PC analyzes compared sample data and the videosignals, configured to generate the test results of the image displayfunction and/or audio function.

In some embodiments, the test items including the image display functionand voice function of the device under test DUT are analyzed andcompared by the computing equipment PC. Only the signals that aretransmitted through wire (e.g., Aux, Opt, coaxial, ARC) are directlytransmitted back to the automatic test device 200 for comparison.

In some embodiments that the automatic test device 200 is configured toanalyze and compare the signals, the automatic test device 200 transmitsthe test results through the connection port 210 and these test resultsare illustrated by the corresponding devices under test DUT. In someembodiments that the computing equipment PC is configured to analyze andcompare the signals, the test results are illustrated by the computingequipment PC.

The automatic test device 200 integrates the signals with various dataformats that are incompatible with each other by the transmissionintegrated interface 220, in order to transmit the signals based on thecorresponding transmission protocols. Meanwhile, the automatic testdevice 200 generates the test instructions by the processor 230, inorder to operate the test operations on the devices under test DUT.Accordingly, the automatic test device 200 may test the devices undertest DUT with various brands or model numbers, and it may also increasethe performance of the test operations and decrease the cost of thesame. Therefore, the automatic test device 200 may replace theconvention by man and avoid some deficiencies of the convention.

An embodiment of a part of the function test stop ST3 is illustrated inFIG. 3, in accordance with the automatic test system 100 shown inFIG. 1. In such embodiment, it is illustrates that whether the imagedisplay function and the voice function of the devices under test DUTare functional. The automatic test device 300 shown in FIG. 3 is similarto the automatic test device 200 shown in FIG. 2, which will not discussthe same herein.

As illustrated in FIG. 3, the automatic test device 300 is coupled tothe device under test DUT, and transmits the test instructions to thedevice under test DUT, configured to trigger the device under test DUTto start the test operations. The audio equipment AUD includes a leftmicrophone LMIC, a right microphone RMIC, and a camera CAM. The audioequipment AUD is coupled to the device under test DUT and the computingequipment PC. In some embodiments, each of the left microphone LMIC andthe right microphone RMIC is a directional microphone, and is configuredto increase an accuracy of sound record.

As discussed above, the audio equipment AUD is configured to assist thetest operations. For example, the audio equipment AUD is configured tocapture the video signals generated from the device under test DUT andconfigured to transmit the video signals to the computing equipment PC,for analyzing and generating the test results by the computing equipmentPC.

With reference to FIGS. 3 and 4, FIG. 4 is a flow chart of an automatictest method 400 applied in the automatic test device 300 shown in FIG.3.

As illustrated in FIG. 4, in block 410, the automatic test method 400starts, including testing the image display function and the audiofunction.

In the block 420, whether the sample data is built is determined by thecomputing equipment PC. The sample data represent default data (i.e.,the signals output from the device under test DUT without dysfunction)to be compared with captured data during test process. The sample dateis needed to be prepared before normal test process. In someembodiments, the sample data are indicated as continuous color photos.In some embodiments, the sample data are indicated as continuous voice.In some embodiments, the sample data are indicated as continuous videoand voice. For example, the sample data represent the images displayedor voice played by a normal television.

If the sample data is not built, the block 430 is operated continuously.

In the block 430, the sample data is produced by the computing equipmentPC, and then the block 410 is operated repeatedly.

If the sample data is built, the block 440 is operated.

In the block 440, whether the audio equipment AUD is arranged correctlyis determined by the computing equipment PC. In some embodiments, withreference to FIG. 3, whether each of the left microphone LMIC, the rightmicrophone RMIC and the camera CAM is arranged correctly is determinedby the computing equipment PC at the same time. For example, whether theleft microphone LMIC and the right microphone RMIC are arrangedreversely, or whether the camera CAM correctly records an entireillustration or the like displayed by the device under test DUT, isdetermined.

If the audio equipment AUD is not arranged correctly, the block 450 isoperated.

In the block 450, the audio equipment AUD is driven by the computingequipment PC and the arrangement of the audio equipment AUD is adjustedproperly by the computing equipment PC. In some examples, a location ofthe audio equipment AUD relative to the device under test DUT isdetected by a detector (not shown) included in the computing equipmentPC, and the configuration of the audio equipment AUD is adjusted toreach the arrangement for the test operations by a driver (not shown)included in the computing equipment PC.

The block 440 is operated again continuously after operating the block450, until the determined result from the block 440 shows that the audioequipment AUD is arranged correctly, and the block 460 is operated sincethen.

If the audio equipment AUD is arranged correctly, the block 460 isoperated.

In the block 460, the function tests of the device under test DUT areperformed by the automatic test device 300 and the audio equipment AUD,wherein the function tests include the image display function test andthe audio function test of the device under test DUT.

The block 470 is operated continuously, and the test results aregenerated by analyzing and comparing by the computing equipment PC. Thetest results represent that whether the device under test DUT isdysfunctional.

FIG. 6 is a flow chart of a test method for testing the image displayfunction of the device under test, in accordance with an embodimentshown in FIG. 4. As illustrated in FIG. 6, it reaches a good testperformance in a way that various image display functions including, forexample, a foreign object detection, a color image display function andan outlined image display function, are tested continuously andautomatically.

In the block 610, the automatic test device or the computing equipmentgenerates preliminary sample video and preliminary sample photos, basedon preliminary sample images of the device under test corresponding tothe brand or the model number thereof. The preliminary sample video andthe preliminary sample photos are indicated as a comparison standard(i.e., a control standard or a standard template) for testing thesubsequent devices under test.

In an example, for the device under test with the specific brand and themodel number, first of all, featured images of this device under testare transmitted to the device under test by the computing equipment.These featured images are displayed by the device under test. At thesame time, images that displayed by the device under test are capturedby the camera and featured photos are generated.

The featured images represent features of static image illustrationincluding, for example, a location of the displayed patterns and acenter location. One exemplary embodiment of the featured photos isillustrated in FIG. 5A, which is a position pattern 501 of the deviceunder test.

As illustrated in FIG. 5A, the position pattern 501 includes at leastone located pattern a, b or c. At least two of the located patterns a,b, and c correspond to different locations at a displayed illustrationof the device under test, and have different areas.

With continued discussion, the featured photos are transmitted to thecomputing equipment, and the preliminary sample images are generated bythe computing equipment based on these featured photos. Subsequently,these preliminary sample images are cascaded to generate the preliminarysample video by the computing equipment.

The preliminary sample video (and the preliminary sample images)represent features of dynamic image illustration including, for example,alterations of background color blocks display, colors, and motion blurimage. The preliminary sample video is cascaded by various preliminarysample photos. In another way to explain, a display illustration of thepreliminary sample video at one moment is indicated as one of thepreliminary sample images. One exemplary embodiment of the preliminarysample images is illustrated in FIG. 5B, which is a color block positionpattern 502.

As illustrated in FIG. 5B, the color block position pattern 502 includesa located pattern a′ that corresponds to the located pattern a of thementioned featured photo (i.e., the position pattern 501), wherein thelocated pattern a′ has a circular pattern al. The color block positionpattern 502 further includes color blocks d1, d2, d3 and d4, and a colorsection at the middle of the color blocks d1, d2, d3 and d4. The colorblocks d1, d2, d3 and d4 have different colors from various color gamut.The color section e has continuous colors that belong to the continuousand multiple color gamut. The other color block position patterns 502are alternative images based on the color block position patterns 502shown in FIG. 5B. For example, in another color block position pattern502, the color blocks d1, d2, d3 and d4 are arranged differently, and arelative arrangement between the circular pattern al and the locatedpattern a′ is also different from that is shown in FIG. 5B. Forinstance, the color blocks d1, d3, d2 and d4 are arranged clockwise inanother color block position patterns 502.

In some embodiments, the content of display corresponding to the colorblocks d1, d2, d3 and d4 and/or the located pattern a′ of thepreliminary sample video change with the playback time of thepreliminary sample video. In some examples, the content of displaycorresponding to the color blocks d1, d2, d3 and d4 of the preliminarysample video rotates with the playback time of the preliminary samplevideo. In some embodiments, the content of display corresponding to thecircular pattern al moves forward and backward horizontally in thelocated pattern a′ with the playback time of the preliminary samplevideo. In some embodiments, the content of display corresponding to thecolor blocks d1, d2, d3 and d4 of the preliminary sample video rotatesclockwise with the playback time of the preliminary sample video, andsimultaneously, the circular pattern al moves from the leftmost locatedpattern a′ to the rightmost located pattern a′ and moves from therightmost located pattern a′ to the leftmost located pattern a′. A timeduring the changing of these patterns is referred to as a period and thepreliminary sample video plays the preliminary sample photos repeatedlyin this period. Therefore, the changing patterns in the preliminarysample video and design of these patterns are used to test the imagedisplay function.

In another example, the featured images of the device under test withthe specific brand and model number include the position pattern 501shown in FIG. 5A and the color block position pattern 502 shown in FIG.5B, and these featured images are played by this device under test.Compared to the example discussed above, the images are captured atdifferent timing by the camera and the preliminary sample images arethen generated, and the preliminary sample video is further generated.

With continued operation of these two examples, the device under testplays the preliminary sample video, and the images are captured atdifferent timing by the camera and the preliminary sample photos arethen generated for being indicated as comparison standard illustrations.

As a result, the preliminary sample photos are display illustrationsthat captured the illustrations displayed by the device under test atsome timing by the camera, and the preliminary sample photos are almostequal to the preliminary sample images (assumed that the device undertest is not abnormal/dysfunctional). Alternatively stated, one exampleof the preliminary sample photos is the illustration shown in FIG. 5A or5B.

The block 615 is operated continuously. In the block 615, on-boardsample video is generated based on the preliminary sample photos and atleast one auxiliary sample photo. The preliminary sample photos arecolor images, and the auxiliary sample photo is a grey level image.

As discussed above, the preliminary sample photos are a color imagesshown as FIG. 5A or 5B, and the preliminary sample photos have variousarrangements of the color patterns respectively. In addition, theauxiliary sample photo may be the grey level image with mono-color.

In the present embodiment, both of the preliminary sample video and theon-board sample video are generated by the computing equipment. Inanother embodiment, the computing equipment transmits the preliminarysample photos and the auxiliary sample photo to the automatic testdevice. Subsequently, the automatic test device generates both of thepreliminary sample video and the on-board sample video, which is notlimited by the present disclosure.

In some embodiments, combining the preliminary sample photos and atleast one auxiliary sample photo is performed by inserting auxiliarysample photos into the preliminary sample photos. Since the preliminarysample photos are color images and the auxiliary sample photos are greylevel images, the on-board sample video includes color images and greylevel images.

In some embodiments, the preliminary sample photos are a set of photoswith a period of the same patterns repeatedly. In the period, theauxiliary sample photos are inserted evenly into the preliminary samplephotos. For example, the period that the patterns of the preliminarysample photos repeat their changing is about 2.2 second, and one of theauxiliary sample photos is inserted into the preliminary sample photosof each period every 0.2 second. Therefore, in each of the period of theon-board sample video has twelve auxiliary sample photos.

The block 620 is operated continuously. In the block 620, the automatictest device orders the device under test play the on-board sample videothat is produced in the block 615. At the same time, the camera capturesthe content that is displayed by the device under test and correspondsto the on-board sample video, and generates test photos. For example,the camera captures one photo every 250 millisecond (msec), and thecamera captures ten photos continuously in each period. That is, duringthe device under test performing the image display function, the cameracaptures photos of the on-board sample video at different timing. Thesecaptured photos are indicated as the test photos sample by the camera.Subsequently, the camera transmits the test photos to the computingequipment, and the block 625 is operated continuously.

In the block 625, the computing equipment compares the test photos inthe block 620 with the preliminary sample photos in the block 615, todetermine whether the test photos match the preliminary sample photos.

In some embodiments, the operation of comparing the test photos with thepreliminary sample photos includes the operation of comparing each ofthe test photos with the preliminary sample photos sequentially, todetermine whether each of the test photos matches one of the preliminarysample photos. In some examples, the foresaid comparing operation isindicated as a template matching, according to whether the test photostemplate match to the preliminary sample photos.

When one of the test photos do not match to any one of the preliminarysample photos, it represents that such test photo is not a photo thatcorresponds to the position pattern 501 shown in FIG. 5A or the colorblock position pattern 502 shown in FIG. 5B. Assumed that the deviceunder test has functional image display function, this test photo maycorrespond to the auxiliary photo, and it causes that this test photodoes not match to all of the preliminary sample photos. On the otherhand, assumed that the device under test has dysfunctional image displayfunction, this test photo captured by the camera may not being differentfrom the content of the on-board sample video, and it causes that thistest photo does not match to the preliminary sample photos.

If the test photos do not match to the preliminary sample photos, theblock 630 is operated.

In the block 630, the computing equipment performs the foreign objectdetection on the test photos, for comparing the test photos anddetermining that whether the test photos have any abnormal patterns orspots. The method of the foreign object detection is discussed in detailbelow with reference to FIG. 7.

The block 640 is operated continuously. In the block 640, whether thedevice under test is dysfunctional is determined by the computingequipment. Alternatively stated, whether the device under test passesthe foreign object detection is determined by the computing equipment.

When the test photos of the device under test pass the foreign objectiondetection, which is determined by the computing equipment, the block 650is operated. Alternatively stated, when a result determined in the block640 shows that the device under test is not dysfunctional, the block 650is operated.

When the test photos of the device under test do not pass the foreignobjection detection, which is determined by the computing equipment, theblock 645 is operated. Alternatively stated, when a result determined inthe block 640 shows that the device under test is dysfunctional, theblock 645 is operated for generating a display function error message bythe computing equipment. In some examples, in the block 645, a noticemessage (i.e., the display function error message) is generated in anillustrating module of the device under test by the computing equipment,in order to notice operators that this device under test does not passthe image display function test.

The block 625 is operated continuously, when the test photos match thepreliminary sample photos, the block 635 is operated. Alternativelystated, at least one of the test photos matches at least one of thepreliminary sample photos.

In the block 635, the color image display function test and the outlinedimage display function test are performed by the computing equipment,which is configured to compare the test photos and determine whether thetest photos have abnormal displayed colors and whether the test photoshave abnormal outlined patterns.

The block 640 is operated continuously. In the block 640, whether thedevice under test is dysfunctional is determined by the computingequipment. Alternatively stated, whether the device under test passesthe color image display function test and the outlined image displayfunction test are determined by the computing equipment.

When the test photos of the device under test pass the color imagedisplay function test and the outlined image display function test,which are determined by the computing equipment, the block 650 isoperated. When the test photos of the device under test do not pass thecolor image display function test and the outlined image displayfunction test, which is determined by the computing equipment, the block645 is operated. As discussed above, the display function error messageis generated by the computing equipment.

In some embodiments, in the block 625, since the test photos are colorphotos such as that shown in FIG. 5B, whether the colors are abnormal isdetermined by comparing the color sections e of the test photos with thepreliminary sample photos correspondingly.

In addition, in the outlined image display function test operations,whether the outlined patterns are abnormal (e.g., distortion orfragment) is determined by comparing the respective patterns of the testphotos with the preliminary sample photos correspondingly.

Subsequently, when results of the foreign objection detectioncorresponding to the block 630, and the color image display functiontest and the outlined image display function test corresponding to theblock 635, all pass, the block 650 is operated respectively.

In the block 650, a motion blur image test and a Caton image test areperformed by the computing equipment, which is configured to compare thetest photos and determine whether the test photos have abnormal patternsor miss part of patterns, for example, to determine whether the testphotos have multiple shadows in one pattern.

In the above discussed embodiment, the preliminary sample photos includefigures such as that shown in FIG. 5B, and there multiple and continuouspreliminary sample photos are alternative with a set of patterns in aspecific period. Therefore, the test photos captured by the camera arephotos of the on-board sample video at several timing, and aresequentially captured photos of the on-board sample video as itdisplays.

As such, in the motion blur image test operations, whether the circularpattern al is abnormal during the alternative duration is determined bycomparing the continuous test photos captured by the camera with thepreliminary sample photos correspondingly. For example, severalincomplete circular patterns al are illustrated in a same test photo,and these incomplete circular patterns al are motion blur afterimages ofthe located pattern a′. That is, such image is motion blur. In anotherway to explain, when the device under test displays the on-board samplevideo, some patterns have multiple shadows in this operation even theon-board sample video is able to be displayed normally.

In addition, in the Caton image test operations, similarly, whether thecolor blocks d1, d2, d3 and d4 are abnormal during the alternativeduration is determined. For example, an arrangement of each relativeposition of the color blocks d1, d2, d3 and d4 in each of the testphotos is identical to one another, and these color blocks d1, d2, d3and d4 are Carton images. In another way to explain, when the deviceunder test displays the on-board sample video, only one illustration ofsuch video is displayed and such video does not output normally.

The block 655 is operated continuously. In the block 655, whether thedevice under test is dysfunctional is determined by the computingequipment. Alternatively stated, whether the device under test passesthe motion blur image test and the Caton image test are determined.

When the test photos of the device under test pass the motion blur imagetest and the Caton image test, which are determined by the computingequipment, the block 660 is operated. Alternatively stated, when aresult determined in the block 650 shows that the device under test isnot dysfunctional, the block 660 is operated. When the test photos ofthe device under test do not pass the motion blur image test and theCaton image test, which are determined by the computing equipment, theblock 660 is operated. Alternatively stated, when a result determined inthe block 650 shows that the device under test is dysfunctional, theblock 645 is operated. As discussed above, the display function errormessage is generated by the computing equipment.

In the block 660, a display function pass message is generated by thecomputing equipment, based on the determined result. The displayfunction pass message indicates that this device under test does nothave dysfunctional image display functions.

With further reference to FIG. 7, a flow chart of a method of theforeign object detection, which is operated in the block 630, isdiscussed below.

As illustrated in FIG. 7, in the block 710, the foreign object detectionstarts.

In the block 715, preliminary edge outlines and frame center points ofthe test photos are obtained by the computing equipment, based on thetest photos. An example of the preliminary edge outlines and framecenter points of the test photos are indicated as a preliminary edge EDOshown in FIG. 8A and a center point CEO, respectively.

The block 720 is operated continuously, multiple scan line data in thetest photos along an X-axis are generated by the computing equipment,based on the frame center points. The scan line data are one dimensionaldata line extending from a center to the preliminary edge outline ofeach photos.

In some embodiments, as illustrated in FIG. 8A, first of all, a firstscan line data SCANX0 of one of the testing photos is obtained. Thefirst scan line data SCANX0 passes through the center point CEO andextends along the X-axis direction. Subsequently, other scan line dataSCANX of this testing photo are obtained. These other scan line dataSCANX are parallel to the first scan line data SCANX0. Therefore, thefirst scan line data SCANX0 is the scan line data that passes throughthe center point CEO, and the scan line data SCANX are other scan linedata that are parallel to the first scan line data SCANX0 and aredistributed in the whole testing photo.

The block 725 is operated continuously, whether the scan line data thetesting photos along the X-axis direction of are completed is determinedby the computing equipment. When a result determined in the block 725shows that it is not completed, the block 720 is operated repeatedly.When the result determined in the block 725 shows that it is completed,the block 730 is operated.

In the block 730, multiple scan line data in the test photos along aY-axis direction of are generated by the computing equipment, based onthe frame center points. The scan line data are one dimensional dataline extending from a center to the preliminary edge outline of eachphotos.

In some embodiments, as illustrated in FIG. 8B, first of all, a firstscan line data SCANY0, which passes through the center point CEO alongthe Y-axis direction, of one of the testing photos is obtained. Thefirst scan line data SCANY0 passes through the center point CEO andextends along the Y-axis direction. Subsequently, other scan line dataSCANY of this testing photo are obtained. These other scan line dataSCANY are parallel to the first scan line data SCANY0. Therefore, thefirst scan line data SCANY0 is the scan line data that passes throughthe center point CEO, and the scan line data SCANY are other scan linedata that are parallel to the first scan line data SCANY0 and aredistributed in the whole testing photo.

The block 735 is operated continuously, whether the scan line data inthe testing photos along the Y-axis direction of are completed isdetermined by the computing equipment. When a result determined in theblock 735 shows that it is not completed, the block 730 is operatedrepeatedly. When the result determined in the block 735 shows that it iscompleted, the block 740 is operated.

In the block 740, actual edge outlines of the test photos are obtainedby the computing equipment, based on multiple scan line data in twodifferent directions of the corresponding test photos.

In some embodiments, a part of the actual edge outline of one of thetest photos is illustrated in FIG. 8C. The multiple scan line data SCANXin the FIG. 8A is utilized to depict an actual outline of thecorresponding test photo, and this outline is referred to as a displayedoutline of an actual display along the Y-axis direction when thecorresponding device under test performs the image display functions.Similarly, a part of the actual edge outline of one of the test photosis illustrated in FIG. 8C. The multiple scan line data SCANY in the FIG.8D is utilized to depict an actual outline of the corresponding testphoto, and this outline is referred to as a displayed outline of anactual display along the X-axis direction when the corresponding deviceunder test performs the image display functions.

In some embodiments, as illustrated in FIGS. 8B and 8D, when thedisplayed illustration that is displayed by the illustrating module ofthe device under test includes a foreign object (e.g., a block spot ERshown in FIG. 8D), the displayed illustration of the device under testshows false images when it displays the on-board sample video.Therefore, the test photos captured by the camera also include thisforeign object. When one end of the scan line data SCANY reach thisforeign object, this end of the scan line data SCANY considers theforeign object as an edge of displayed illustration, and thecorresponding scan line data SCANY stop extending. As a result, a lengthof the scan line data SCANY1 shown in FIG. 8B is different from a lengthof other scan line data SCANY. It causes that the actual edge outlineobtained subsequently is abnormal, and the foreign object is determined,as illustrated in FIG. 8D.

Accordingly, edge information of one of the testing photos along theY-axis direction is obtained by the computing equipment, such as an edgeoutline EDX shown in FIG. 8C. Similarly, edge information of one of thetesting photos along the X-axis direction is obtained by the computingequipment, such as an edge outline EDY shown in FIG. 8D. As a result, anactual edge outline of the whole corresponding testing photos is knownaccording to both of the edge outline EDX and the edge outline EDY.

The block 745 is operated continuously. Displayed illustration testinformation of the device under test is obtained by the computingequipment, based on the actual edge outline. In another way to explain,a testing result performed by the device under test in practical istransferred to as a corresponding displayed illustration information(i.e., the displayed illustration test information). The displayedillustration test information include, for example, a displayedillustration size of the device under test, a false image size, and aposition of the false image relative to the whole displayedillustration. Similarly, the device under test with functional displayfunctions has corresponding displayed illustration default information.

The block 750 is operated continuously. The displayed illustration testinformation and the displayed illustration default information arecompared by the computing equipment.

In some embodiments, some parameters including, for example, an aspectratio and an area, of the displayed illustration test information andthereof the displayed illustration default information are compared bythe computing equipment.

In the block 755, whether the displayed illustration test informationmatches the displayed illustration default information is determined bythe computing equipment. Alternatively stated, whether the device undertest passes the foreign object detection is determined by the computingequipment.

In some embodiments, when both of the aspect ratio and the area of thedisplayed illustration test information are in corresponding deviationsof the displayed illustration default information, the displayedillustration test information and the displayed illustration defaultinformation are matched, which is determined by the computing equipment.That is, the device under test passes the foreign object detection isdetermined. In contrast, when the displayed illustration testinformation and the displayed illustration default information are notmatched, the device under test does not pass the foreign objectdetection is determined.

When the displayed illustration test information does not match thedisplayed illustration default information, which is determined by thecomputing equipment, the block 760 is operated for generating thedisplay function error message by the computing equipment. In someexamples, in the block 760, the notice message is generated in theillustrating module of the device under test by the computing equipment,in order to notice the operators that this device under test does notpass the foreign object detection.

When the displayed illustration test information matches the displayedillustration default information, which is determined by the computingequipment, the block 765 is operated. Alternatively stated, when a testresult of the foreign object detection determined in the block 755 showsthat it passes, the block 765 is operated.

In the block 765, the foreign object detection pass message is generatedby the computing equipment, based on the determined result. The foreignobject detection pass message indicates that the displayed illustrationof this device under test does not have foreign objects. The block 640in FIG. 6 is operated continuously, for testing other display functiontests subsequently.

To conclude various tests regarding to the display function, accordingto the methods shown in FIGS. 6 and 7, the image display functionsincluding, for example, the foreign object detection, the color imagedisplay function, the outlined image display function, the motion blurimage test and the Caton image test, of the device under test areoperated to be tested. Accordingly, it raises the performance of testoperations by testing several image display functions continuously.

FIGS. 9A, 9B and 9C are flow charts of an automatic test method, inaccordance with an embodiment shown in FIG. 4.

In the block 910, a sample audio is generated by the automatic testdevice or the computing equipment, and is configured to be indicated asthe comparison standard (i.e., standard template) for testing subsequentdevices under test.

In some embodiments, the sample audio includes channel tags and channeldata, and the sample audio includes multiple repeated portions of audiodata. The audio data have periods that are the same as one another. Thechannel tags include left channel tags and right channel tags,configured to be indicated as trigger signals for testing left channeland testing right channel, respectively, of the device under test. Thechannel data includes left channel data and right channel data,configured to be indicated as content to be compared in left channeltest and right channel test, respectively.

In some embodiments, the sample audio includes left channel sound andright channel sound. The left channel sound includes left channel tags,right channel tags, and left channel data. The right channel soundincludes left channel tags, right channel tags, and right channel data.In the period, as the left channel sound playing with time, the data ofthe left channel sound includes the left channel tags, the left channeldata, and the right channel tags sequentially. Besides, in the sameperiod, as the right channel sounds playing with time, the data of theleft channel sound includes the left channel tags, the right channeltags, and the right channel data sequentially. The left channel data isconfigured to test left-side audio output functions, including, forexample, determining whether a left-side speaker of the device undertest has a normal playing function. The right channel data is configuredto test right-side audio output functions, including, for example,determining whether a right-side speaker of the device under test has anormal playing function. Accordingly, in the period, it is able to testthe left-side audio output functions and the right-side audio outputfunctions of the device under test, simultaneously.

FIG. 10A is the left channel sound, in accordance with an embodiment ofthe present disclosure. In one period (which is during the time t1 andt2, and intervals between each two of the time t1, t2, and t3 is same asone another), as time goes, the content of the data includes the leftchannel tags, the left channel data, the right channel tags, and ablank. In another way to explain, a period of the left channel soundincludes a left sample period t1 and a right sample period t2. In theleft sample period t1, the content of the data includes the left channeltags and the left channel data. In the right sample period t2, thecontent of the data includes the right channel tags and the blank.

Similarly, FIG. 10B is the right channel sound, in accordance with anembodiment of the present disclosure. In one period including the timet1 and the time t2, as time goes, the content of the data includes theleft channel tags, a blank, the right channel tags, and the rightchannel data. As discussed above, a period of the right channel soundincludes a left sample period t1 and a right sample period t2. In theleft sample period t1, the content of the data includes the left channeltags and the blank. In the right sample period t2, the content of thedata includes the right channel tags and the right channel data.

The left channel sound is provided to an output of a left-side audiounit of the device under test, and the right channel sound is providedto an output of a right-side audio unit of the device under test.Utilizing the left channel sound and the right channel sound which areplayed by the left-side audio unit and the right-side audio unit of thedevice under test, respectively, and utilizing a data design of leftchannel sound and the right channel sound, it increases an accuracy ofthe testing for the left-side audio unit and the right-side audiorespectively, and it is also configured to test that whether theleft-side audio unit and the right-side audio are arranged oppositely.

As illustrated in FIGS. 9A-9C, in the block 915, the sample audio thatis played by the device under test is recorded by a left microphone anda right microphone, and test audio is generated. The left microphone andthe right microphone are turned on by the audio equipment.

In some embodiments discussed above, a left-side audio unit of thedevice under test outputs the left channel sound, and a right audio unitof the device under test outputs the right channel sound at the sametime. Accordingly, the left microphone and the right microphone recordthe left channel sound and the right channel sound output by the deviceunder test simultaneously, and generate left test audio and right lefttest audio, which is indicated as the test audio, simultaneously.

Similarly, if both of the playing function of the audio units of thedevice under test and the recording function of the microphones arenormal, the content of the test audio corresponds to the content of thesample audio. Alternatively stated, the left channel sound and the rightchannel sound include the left channel tags, the right channel tags, theleft channel data and the right channel data, respectively.

The block 920 is operated continuously, whether a microphone unitincluding the left microphone and the right microphone records voicesnormally is determined by the computing equipment. It is utilized by thecomputing equipment that the computing equipment analyzes the test audiorecorded by the microphone unit which is referred to as the leftmicrophone and the right microphone. When the microphone unit does notrecord voices normally, the block 925 is operated.

In the block 925, an audio function error message is generated by thecomputing equipment. The audio function error message indicates that themicrophone unit does not record voices normally, and the microphone unitshould be rearranged or settled. In some examples, in the block 925, anotice message is generated in an illustrating module of the computingequipment, in order to notice operators that this device under test isunable to be tested for the audio function.

When the microphone unit records voices normally, the block 930 isoperated.

In the block 930, the test audio including, the left test audio and theright test audio, recorded respectively by the left microphone and theright microphone is obtained by the computing equipment, and the testaudio is analyzed subsequently. The left channel tags and the rightchannel tags included in the test audio exist at some moments of thetest audio correspondingly, and are indicated as trigger tags of theleft test audio and the right test audio respectively.

In some embodiments discussed above, the left-side audio unit and theright audio unit of the device under test play the left channel soundand the right channel sound at the same time. Therefore, both of theleft microphone and the right microphone record the voices output fromthe left-side audio unit and the right audio unit, and they generate theleft test audio and the right test audio, respectively. The test audiorecorded by the left microphone and the right microphone is respectivelyanalyzed by the computing equipment, and the blocks 935 and 960 areoperated subsequently and simultaneously. The blocks 935, 940, 945, 950and 955 are operated for analyzing the test audio recoded by the leftmicrophone. The blocks 960, 965, 970, 975 and 980 are operated foranalyzing the test audio recoded by the right microphone.

As illustrated in FIG. 9B, for analyzing the test audio recoded by theleft microphone, first of all, in the block 935, whether the left testaudio captured by the left microphone is valid data is determined by thecomputing equipment.

For example, when the left test audio recoded by the left microphoneincludes the left channel tags or the right channel tags, and a lastingtime that the left channel data or the right channel dataappearing/existing is longer than a predetermined value, the leftchannel data is determined to be valid data. The left channel data orthe right channel data appears after the left channel tags or the rightchannel tags appears in the left test audio, respectively.

In the block 935, the operation for determining whether the left testaudio recoded by the left microphone is valid data is also understood asthat the signals (i.e., the content of the test audio) captured by theleft microphone corresponding to the sample audio are significant. Thesesignals exist and appear continuously and stably in the data during oneperiod, and these signals are not other voices or noises. In someexamples, whether the channel data which is behind the correspondingchannel tag last for a while in the period is determined by thecomputing equipment. It is configured to determine that whether the testaudio recorded by the microphone is the sample audio played by thedevice under test or the noise of testing environment.

When the left test audio captured by the left microphone is not validdata, the block 985 is operated.

In the block 985, the sample audio that is played by the device undertest is recorded continuously by the microphone unit, and the test audiois generated. In addition, when a time playing the sample audio exceedsthe predetermined value, a timeout message is generated by the computingequipment, and is illustrated in the illustrating module of thecomputing equipment, in order to notice operators that the audiofunction test should be performed once again or that failing the audiofunction test should be settled.

When the left test audio captured by the left microphone is valid data,the block 940 is operated.

In the block 940, a sum of signal strength of the channel data iscomputed by the computing equipment. The signal strength of the channeldata is included in the left channel data captured by the leftmicrophone during the period including, for example, the time t1 and t2shown in FIGS. 10A and 10B. The sum of signal strength of the channeldata indicates a volume of the significant data included in the leftchannel data. In the period, whether a sum of signal strength of theleft channel data captured by the left microphone is greater than a sumof signal strength of the left channel data captured by the rightmicrophone is determined by the computing equipment. It is configured tomake sure that the volume of the data, which is played by the left-sideaudio unit and is captured by the left microphone, is greater than thevolume of the data, which is played by the left-side audio unit and iscaptured by the right microphone. Accordingly, it is configured todetermine that whether the left-side audio unit and the right-side audiounit are arranged oppositely.

When the sum of signal strength of the left channel data captured by theleft microphone is not greater than the sum of signal strength of theleft channel data captured by the right microphone, it indicates thatthe right microphone actually records the sample audio played by theleft-side audio unit. Alternatively stated, the left-side audio unit andthe right-side audio unit are arranged oppositely. The block 945 isoperated subsequently.

In the block 945, the audio function error message is generated by thecomputing equipment. The audio function error message indicates thatthis device under test has dysfunctional audio output functions.

When the sum of signal strength of the left channel data captured by theleft microphone is greater than the sum of signal strength of the leftchannel data captured by the right microphone, it indicates that theleft microphone actually records the sample audio played by theleft-side audio unit. Alternatively stated, the left-side audio unit andthe right-side audio unit are arranged correctly.

Besides, when the sum of signal strength of the left channel datacaptured by the left microphone is greater than the sum of signalstrength of the left channel data captured by the right microphone, aqualified number is added once by a counter, and the block 950 isoperated subsequently.

In the block 950, whether the qualified number exceeds a predeterminednumber is determined by the computing equipment. Whether the qualifiednumber of the left channel data captured by the left microphone isgreater than the predetermined number is determined. It is configured tomake sure that the left-side audio unit of the device under test is ableto output audio signals stably and correctly.

When the qualified number of the left channel data captured by the leftmicrophone is not greater than the predetermined number, it indicatesthat the left microphone does not continuously record the sample audiowhich is played by the left-side audio unit for a while. Alternativelystated, the left-side audio unit of the device under test hasdysfunctional audio functions, or the recording time recorded by theleft microphone is not long enough. The block 985 is back to beoperated.

When the qualified number of the left channel data captured by the leftmicrophone is greater than the predetermined number, it indicates thatthe left microphone continuously records the sample audio which isplayed by the left-side audio unit for a while. The block 955 isoperated subsequently.

In the block 955, a left-side audio unit pass message is generated bythe computing equipment. It indicates that this left-side audio unit ofthe device under test passes the audio function test.

As illustrated in FIG. 9C, for analyzing the test audio recoded by theright microphone, first of all, in the block 960, whether the right testaudio captured by the right microphone is valid data is determined bythe computing equipment.

For example, when the right test audio recoded by the right microphoneincludes the left channel tags or the right channel tags, and a lastingtime that the left channel data or the right channel dataappearing/existing is longer than the predetermined value as discussedabove with reference to the block 935 in FIG. 9B, the right channel datais determined to be valid data.

Similarly, the operation, in the block 960, for determining whether theright test audio recoded by the right microphone is valid data is alsounderstood as that the signals captured by the right microphonecorresponding to the sample audio are significant. These signals existand appear continuously and stably in the data during such period, andthese signals are not other voices or noises. In some examples, whetherthe channel data which is behind the corresponding channel tag lasts fora while in the period is determined by the computing equipment. It isconfigured to determine that whether the test audio recorded by themicrophone is the sample audio played by the device under test or thenoise of testing environment.

When the right test audio captured by the right microphone is not validdata, it indicates that a recording time of the right the microphone isnot long enough, and the block 985 is operated.

In the block 985, the sample audio that is played by the device undertest is recorded continuously by the microphone unit, and the test audiois generated. Similarly, when the time playing the sample audio exceedsthe predetermined value, the timeout message is generated by thecomputing equipment, and is illustrated in the illustrating module ofthe computing equipment, in order to notice operators that the audiofunction test should be performed once again or that failing the audiofunction test should be settled.

When the right test audio captured by the right microphone is validdata, the block 965 is operated.

In the block 965, a sum of signal strength of the channel data iscomputed by the computing equipment. The signal strength of the channeldata is included in the right channel data captured by the rightmicrophone during the period including, for example, the time t1 and t2shown in FIGS. 10A and 10B. The sum of signal strength of the channeldata indicates a volume of the significant data included in the rightchannel data. In the period, whether a sum of signal strength of theright channel data captured by the right microphone is greater than asum of signal strength of the right channel data captured by the leftmicrophone is determined by the computing equipment. It is configured tomake sure that the volume of the data, which is played by the right-sideaudio unit and is captured by the right microphone, is greater than thevolume of the data, which is played by the right-side audio unit and iscaptured by the left microphone. Accordingly, it is configured todetermine that whether the right-side audio unit and the left-side audiounit are arranged oppositely.

When the sum of signal strength of the right channel data captured bythe right microphone is not greater than the sum of signal strength ofthe right channel data captured by the left microphone, it indicatesthat the left microphone actually records the sample audio played by theright-side audio unit. Alternatively stated, the right-side audio unitand the left-side audio unit are arranged oppositely. The block 970 isoperated subsequently.

In the block 970, the audio function error message is generated by thecomputing equipment. The audio function error message indicates thatthis device under test has dysfunctional audio output functions.

When the sum of signal strength of the right channel data captured bythe right microphone is greater than the sum of signal strength of theright channel data captured by the left microphone, it indicates thatthe right microphone actually records the sample audio played by theright-side audio unit. Alternatively stated, the right-side audio unitand the left-side audio unit are arranged correctly.

Besides, when the sum of signal strength of the right channel datacaptured by the right microphone is greater than the sum of signalstrength of the right channel data captured by the left microphone, aqualified number is added once by a counter, and the block 975 isoperated subsequently.

In the block 975, whether the qualified number exceeds a predeterminednumber is determined by the computing equipment. Whether the qualifiednumber of the right channel data captured by the right microphone isgreater than the predetermined number is determined. It is configured tomake sure that the right-side audio unit of the device under test isable to output audio signals stably and correctly.

When the qualified number of the right channel data captured by theright microphone is not greater than the predetermined number, itindicates that the right microphone does not continuously record thesample audio which is played by the right-side audio unit for a while.Alternatively stated, the right-side audio unit of the device under testhas dysfunctional audio functions, or the recording time recorded by theright microphone is not long enough. The block 985 is back to beoperated.

When the qualified number of the right channel data captured by theright microphone is greater than the predetermined number, it indicatesthat the right microphone continuously records the sample audio which isplayed by the right-side audio unit for a while. The block 980 isoperated subsequently.

In the block 980, a right-side audio unit pass message is generated bythe computing equipment. It indicates that this right-side audio unit ofthe device under test passes the audio function test.

In the blocks 955 and 980, the left-side audio unit pass message and theright-side audio unit pass message are generated by the computingequipment. It indicates that the left-side audio unit and the right-sideaudio unit of such device under test does not have dysfunctional audiofunctions.

To conclude the above tests associated to the audio functions, it isable to perform the audio output function tests on the device under testby the method illustrated in FIGS. 9A to 9C. The method illustrated inFIGS. 9A to 9C includes testing the voice output function of theleft-side and the right-side audio units, and testing the relativearrangement of the left-side and the right-side audio units.Accordingly, it is able to analyze the left-side and the right-sideaudio units at the same time utilizing the designed sample audio, and itfurther increases the performance of the test operations.

In some embodiments, a frequency of the left channel tags is higher thana frequency of the left channel data. The frequency of the left channeltags is referenced as a frequency fL illustrated in FIGS. 10A and 10B,and is indicated as a trigger signal for analyzing the left microphone.A frequency of the right channel tags is higher than a frequency of theright channel data. The frequency of the right channel tags isreferenced as a frequency fR illustrated in FIGS. 10A and 10B, and isindicated as a trigger signal for analyzing the right microphone. Inaddition, the frequency fR of the right channel tags is different fromthe frequency fL of the left channel tags. Accordingly, in the analyzingoperations, it is able to distinguish the signals captured by the leftmicrophone and by the right microphone.

In some embodiments, the frequencies fL and fR of the left channel tagsand the right channel tags are in a range of 20,000 Hz to 15,000 Hz. Itis considered that a frequency response below the frequency of 20,000 Hzis flat for general speakers or microphones, the frequency responseabove the frequency of 20,000 Hz decreases. Besides, human ears are notsensitive to voices with high frequency. Therefore, the frequency of thepresent disclosure is higher than 15,000 Hz and is lower than 20,000 Hz,and such frequency bandwidth of the signals is less sensitive to humanears and is also functional for the general speakers or microphones.

To conclude, it is able to increase the overall performance of the testoperations, by the automatic test system performing various testfunctions on the device under test. The automatic test device includesvarious compatible transmission protocols, in order to match alternativebrands or model numbers of the devices under test. The efficiency of thetest operations are increased accordingly. The automatic test methodincludes the image display functions and the audio functions, whereinthe automatic test method is applied in the automatic test system.Accordingly, it shortens the testing times and has good accuracy.

Although the present invention has been described in considerable detailwith reference to certain embodiments thereof, other embodiments arepossible. Therefore, the spirit and scope of the appended claims shouldnot be limited to the description of the embodiments contained herein.

It will be apparent to those skilled in the art that variousmodifications and variations can be made to the structure of the presentinvention without departing from the scope or spirit of the invention.In view of the foregoing, it is intended that the present inventioncover modifications and variations of this invention provided they fallwithin the scope of the following claims.

What is claimed is:
 1. An automatic test method for testing functions ofa device under test, comprising: generating a sample video, based on aplurality of first sample photos and at least one second sample photo,by a processor; displaying the sample video by the device under test,and generating a plurality of test photos based on the content of thedisplayed sample video captured by a camera; comparing the plurality offirst sample photos with the plurality of test photos to generate adisplay compared result; and generating a display error message or adisplay pass message, based on the display compared result, configuredto indicate that whether a display function of the device under test isdysfunctional, by the processor.
 2. The automatic test method of theclaim 1, wherein the generating the sample video comprises: insertingthe at least one second sample photo into the plurality of first samplephotos, wherein the at least one second sample photo is a grey levelimage, and the plurality of first sample photos are color images.
 3. Theautomatic test method of the claim 1, further comprising: generating theplurality of first sample photos, by the processor, comprising:generating a plurality of color position patterns, based on a positionpattern, by the processor, wherein the plurality of color positionpatterns comprise display coverages, color inspect sections and motionblur inspect sections of the device under test; generating a producedsample video, based on the plurality of color position patterns, by theprocessor; and capturing contents of the produced sample video that aredisplayed by the device under test at moments that are different fromone another, and generating the plurality of first sample photosaccording to the captured contents.
 4. The automatic test method of theclaim 3, wherein the color inspect sections of each of the plurality ofcolor position patterns comprises a plurality of color block displaysections and a color display section, wherein in the plurality of colorposition patterns, the plurality of color block display sections havecolors that are different from one another, and the color displaysection is configured to display a plurality of colors of a plurality ofcontinuous color gamut.
 5. The automatic test method of the claim 1,wherein the comparing the plurality of first sample photos with theplurality of test photos comprising: determining whether the pluralityof test photos template matching to one of the plurality of first samplephotos by comparing the plurality of first sample photos with theplurality of test photos sequentially; when a template matching resultindicates being not matched, operating a foreign objection detection;and when the template matching result indicates being matched, operatinga color image test and an outlined image test.
 6. The automatic testmethod of the claim 5, wherein the comparing the plurality of firstsample photos with the plurality of test photos comprising: when a testresult of the foreign objection detection or the color image test andthe outlined image test indicates being not abnormal, operating a motionblur image test and a Caton image test.
 7. The automatic test method ofthe claim 5, wherein the operating the foreign objection detectioncomprising: obtaining a preliminary edge position and a center point ofa position pattern; generating a plurality of scan line data in theplurality of test photos correspondingly, based on the center point;obtaining a displayed illustration test information of the device undertest, based on the plurality of scan line data; comparing the displayedillustration test information with a displayed illustration defaultinformation of the device under test to generate a test result of theforeign objection detection; and generating an error message or a passmessage, based on the test result of the foreign objection detection. 8.The automatic test method of the claim 7, wherein the generating theplurality of scan line data comprising: obtaining a first scan line datathat passes the center point in a first direction; obtaining a secondscan line data that passes the center point in a second directiondifferent from the first direction; generating the plurality of scanline data that are parallel to the first scan line data; and generatingthe plurality of scan line data that are parallel to the second scanline data.
 9. The automatic test method of the claim 1, furthercomprising: generating a sample audio by the processor, wherein thesample audio comprises a plurality of channel tags and a plurality ofchannel data, and the plurality of channel tags and the plurality ofchannel data are arranged alternatively; capturing the sample audioplayed by the device under test to generate a test audio, by a voicereceiver; analyzing the test audio to generate an audio result, by theprocessor; and generating an audio error message or an audio passmessage, based on the audio result and configured to indicate thatwhether an audio function of the device under test is dysfunctional, bythe processor.
 10. An automatic test method for testing functions of adevice under test, comprising: generating a sample audio by a processor,wherein the sample audio comprises a plurality of audio data, and theplurality of audio data have periods that are same as one another;capturing the sample audio played by the device under test by a voicereceiver; analyzing the sample audio captured by the voice receiver togenerate an audio result, by the processor; and generating an audioerror message or an audio pass message, based on the audio result andconfigured to indicate that whether an audio function of the deviceunder test is dysfunctional, by the processor.
 11. The automatic testmethod of the claim 10, wherein each of the plurality of audio datacomprises a left channel tag, a left channel data, a right channel tag,and a right channel data, sequentially.
 12. The automatic test method ofthe claim 11, wherein the analyzing the sample audio captured by thevoice receiver comprising: determining whether the sample audio capturedby the voice receiver is valid data; and when the sample audio capturedby the voice receiver being not the valid data, continuously capturingthe sample audio played by the device under test by the voice receiver.13. The automatic test method of the claim 11, wherein the analyzing thesample audio captured by the voice receiver comprising: determiningwhether a signal strength of the left channel data captured by aleft-side audio unit of the voice receiver is greater than a signalstrength of the left channel data captured by a right-side audio unit ofthe voice receiver; when the signal strength of the left channel datacaptured by the left-side audio unit of the voice receiver being smallerthan or equal to the signal strength of the left channel data capturedby the right-side audio unit of the voice receiver, generating the audioresult having an error message; determining whether a signal strength ofthe right channel data captured by the right-side audio unit of thevoice receiver is greater than a signal strength of the right channeldata captured by the left-side audio unit of the voice receiver; andwhen the signal strength of the right channel data captured by theright-side audio unit of the voice receiver being smaller than or equalto the signal strength of the right channel data captured by theleft-side audio unit of the voice receiver, generating the audio resulthaving the error message.
 14. The automatic test method of the claim 13,wherein the analyzing the sample audio captured by the voice receivercomprising: when the signal strength of the left channel data capturedby the left-side audio unit of the voice receiver being greater than thesignal strength of the left channel data captured by the right-sideaudio unit of the voice receiver, counting a left-side qualified number;determining whether the left-side qualified number exceeding a left-sidepredetermined number; when the left-side qualified number not exceedingthe left-side predetermined number, continuously capturing the sampleaudio played by the device under test by the voice receiver; when thesignal strength of the right channel data captured by the right-sideaudio unit of the voice receiver being greater than the signal strengthof the right channel data captured by the left-side audio unit of thevoice receiver, counting a right-side qualified number; and when theright-side qualified number not exceeding a right-side predeterminednumber, continuously capturing the sample audio played by the deviceunder test by the voice receiver.
 15. The automatic test method of theclaim 14, wherein the analyzing the sample audio captured by the voicereceiver comprising: when the left-side qualified number exceeding theleft-side predetermined number, generating the audio result having apass message; and when the right-side qualified number exceeding theright-side predetermined number, generating the audio result having thepass message.
 16. The automatic test method of the claim 11, wherein inthe periods that that are same as one another, a signal length of theleft channel data is greater than a signal length of the left channeltag, and a signal length of the right channel data is greater than asignal length of the right channel tag.
 17. The automatic test method ofthe claim 11, wherein a frequency of the left channel tag is differentfrom a frequency of the right channel tag.